//
//  SystemTimeNewsTableViewCell.swift
//  TianTianBiTing
//
//  Created by Gox mac 2 on 2019/3/19.
//  Copyright © 2019 Gox_WallyDiao. All rights reserved.
//

import UIKit

class SystemTimeNewsTableViewCell: UITableViewCell {

    var timeLabel:UILabel = UILabel()
    
    override init(style: UITableViewCell.CellStyle, reuseIdentifier: String?) {
        super.init(style: style, reuseIdentifier: reuseIdentifier)
        
        setUI()
    }
    
    
    func setUI() {
  
        timeLabel.font = Font_Medium(11)
        timeLabel.textColor = RGB_Same(136)
        timeLabel.textAlignment = .center
        timeLabel.backgroundColor = RGB_Same(240)
        timeLabel.layer.cornerRadius = 3
        contentView.addSubview(timeLabel)

    }
    
    required init?(coder aDecoder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
    
    override func awakeFromNib() {
        super.awakeFromNib()
        // Initialization code
    }
    
    override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)
        
        // Configure the view for the selected state
    }
    
    override func layoutSubviews() {
        timeLabel.frame = FRAME_CGFloat(SCREEN_WIDTH / 2 - 40, 13, 80, 17)

        
    }

}
